package com.zf.spring.microservice.uaa.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import com.zf.spring.microservice.uaa.domain.UserApiScope;

@RepositoryRestResource(collectionResourceRel = "userApiScopes", path = "userApiScopes")
public interface UserApiScopeRepository extends PagingAndSortingRepository<UserApiScope, Long> {
	Page<UserApiScope> findByAccountId(Long accountId, Pageable pageable);
}
